package com.sky.service.user.impl;

import com.sky.mapper.user.UserMerchantMapper;
import com.sky.pojo.Merchant;
import com.sky.service.user.UserMerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserMerchantServiceImpl implements UserMerchantService {
    @Autowired
    private UserMerchantMapper merchantMapper;

    @Override
    public Merchant getShopById(long l) {

        return merchantMapper.selectById(l);
    }
}
